package cn.sc.summer.mybatis.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 类名：druid多数据源配置项
 *
 * @author a-xin
 * @date 2023/12/13 16:19
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties("spring.datasource")
public class DruidDataSourceProperties {

    /**
     * druid数据源信息
     */
    private Map<String, DataSourceProperties> druid;

}
